home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmigaPlus / Tools / Development / renderlib40 / src / rnd_mapping.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-12-14  |  560 b   |  18 lines

  1.  
  2. #ifndef _RND_MAPPING_H
  3. #define _RND_MAPPING_H
  4.  
  5. #include <utility/tagitem.h>
  6. #include <exec/memory.h>
  7. #include <exec/nodes.h>
  8. #include "rnd_palette.h"
  9.  
  10. typedef RNDPAL RNDMAP;
  11.  
  12. LIBAPI RNDMAP *CreateMapEngineA(RNDPAL *palette, struct TagItem *tags);
  13. LIBAPI void DeleteMapEngine(RNDMAP *mapengine);
  14. LIBAPI ULONG MapRGBArrayA(RNDMAP *engine, ULONG *rgb, UWORD width, UWORD height, UBYTE *chunky, struct TagItem *tags);
  15. LIBAPI ULONG MapChunkyArrayA(RNDMAP *engine, UBYTE *src, RNDPAL *palette, UWORD width, UWORD height, UBYTE *dest, struct TagItem *tags);
  16.  
  17. #endif
  18.